package com.hzlh.domain.po;


/**
 * 充值申请记录对象返回
 * 
 * @author Administrator
 *
 */

public class AccountApplyInfo {
	private String id;			//用户编号
	private String username;	//用户名称
	private String linkname;	//联系人
	private String telphone;	//联系电话
	private String emailurl;	//邮箱
	private String account;		//申请充值金额
	private String remit_time;	//汇款日期
	private String apply_time;	//申请日期
	private String repay_time;	//还现期限
	private String pay_time;	//充值日期
	private int status;			//状态：0待处理；1失败；2充值成功；3充值成功-未还现；4充值成功-逾期；5充值成功-已还现
	private String showValue;	//客户类型
	private String pay_type;	//充值类型
	private String explanation;	//充值说明
	private String repay_account;	//充值账号
	private String repay_name;	//充值人
	private String repay_bank;	//银行名称
	private String repay_bank_name;	//开户行
	private String repay_link_name;	//联系人
	private String repay_telphone;	//联系电话
	private String failure_cause;	//失败原因
	private String tostatus;		//状态转义
	private String user_id;       //广告主ID
	private String repay_serial;  //流水号
	
	
	
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getRepay_serial() {
		return repay_serial;
	}
	public void setRepay_serial(String repay_serial) {
		this.repay_serial = repay_serial;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getLinkname() {
		return linkname;
	}
	public void setLinkname(String linkname) {
		this.linkname = linkname;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getEmailurl() {
		return emailurl;
	}
	public void setEmailurl(String emailurl) {
		this.emailurl = emailurl;
	}
	
	
	public void setShowValue(String businessType) {
		String defaultShowValue = "";
		StringBuffer stringBuffer = new StringBuffer(128);	//媒体主
			if(businessType.contains("0"))
				stringBuffer.append("广告主");
			else if(businessType.contains("1"))
				stringBuffer.append("广告代理商");
			defaultShowValue = stringBuffer.toString();
			
		this.showValue=defaultShowValue;
	}
	
	public String getShowValue() {
		return showValue;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getRemit_time() {
		return remit_time;
	}
	public void setRemit_time(String remit_time) {
		this.remit_time = remit_time;
	}
	public String getApply_time() {
		return apply_time;
	}
	public void setApply_time(String apply_time) {
		this.apply_time = apply_time;
	}
	public String getRepay_time() {
		return repay_time;
	}
	public void setRepay_time(String repay_time) {
		this.repay_time = repay_time;
	}
	public String getPay_time() {
		return pay_time;
	}
	public void setPay_time(String pay_time) {
		this.pay_time = pay_time;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getPay_type() {
		return pay_type;
	}
	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}
	public String getExplanation() {
		return explanation;
	}
	public void setExplanation(String explanation) {
		this.explanation = explanation;
	}
	public String getRepay_account() {
		return repay_account;
	}
	public void setRepay_account(String repay_account) {
		this.repay_account = repay_account;
	}
	public String getRepay_name() {
		return repay_name;
	}
	public void setRepay_name(String repay_name) {
		this.repay_name = repay_name;
	}
	public String getRepay_bank() {
		return repay_bank;
	}
	public void setRepay_bank(String repay_bank) {
		this.repay_bank = repay_bank;
	}
	public String getRepay_bank_name() {
		return repay_bank_name;
	}
	public void setRepay_bank_name(String repay_bank_name) {
		this.repay_bank_name = repay_bank_name;
	}
	public String getRepay_link_name() {
		return repay_link_name;
	}
	public void setRepay_link_name(String repay_link_name) {
		this.repay_link_name = repay_link_name;
	}
	public String getRepay_telphone() {
		return repay_telphone;
	}
	public void setRepay_telphone(String repay_telphone) {
		this.repay_telphone = repay_telphone;
	}
	public String getFailure_cause() {
		return failure_cause;
	}
	public void setFailure_cause(String failure_cause) {
		this.failure_cause = failure_cause;
	}
	public String getTostatus() {
		return tostatus;
	}
	public void setTostatus(String tostatus) {
		String statusname = "-";
		switch(tostatus){
		case "0":
			statusname = "待处理";
			break;
		case "1":
			statusname = "充值失败";
			break;
		case "2":
			statusname = "充值成功";
			break;
		case "3":
			statusname = "充值成功-待还现";
			break;
		case "4":
			statusname = "充值成功-逾期";
			break;
		case "5":
			statusname = "充值成功-已还现";
			break;
		}
		this.tostatus = statusname;
	}
	
	
	
}
